Information processing apparatus and non-transitory computer readable medium

ABSTRACT

An information processing apparatus includes a display screen and a display controller. The display screen displays a first message corresponding to a first event occurring in the information processing apparatus. The display controller controls, in a case where a second event occurs while the first message is being displayed on the display screen, a display mode of a second message corresponding to the second event, based on a relationship between the first event and the second event.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is based on and claims priority under 35 USC 119 from Japanese Patent Application No. 2017-040307 filed Mar. 3, 2017.

BACKGROUND Technical Field

The present invention relates to an information processing apparatus and a non-transitory computer readable medium.

SUMMARY

According to an aspect of the invention, there is provided an information processing apparatus including a display screen and a display controller. The display screen displays a first message corresponding to a first event occurring in the information processing apparatus. The display controller controls, in a case where a second event occurs while the first message is being displayed on the display screen, a display mode of a second message corresponding to the second event, based on a relationship between the first event and the second event.

BRIEF DESCRIPTION OF THE DRAWINGS

Exemplary embodiments of the present invention will be described in detail based on the following figures, wherein:

FIG. 1 is a block diagram illustrating a configuration example of an information processing apparatus according to an exemplary embodiment of the present invention;

FIG. 2 is a diagram illustrating an example of message categorization table;

FIG. 3 is a flowchart illustrating an example of an operation of the information processing apparatus;

FIG. 4 is a flowchart illustrating an example of an operation of the information processing apparatus;

FIG. 5A is a diagram illustrating an example of a setting screen;

FIG. 5B is a diagram illustrating an example of a message notification screen; and

FIGS. 6A and 6B are diagrams illustrating examples of a message notification screen.

DETAILED DESCRIPTION

Hereinafter, exemplary embodiments of the present invention will be described with reference to drawings. In figures, components having substantially the same function are referred to with the same reference sign, and redundant explanation will be omitted.

Summary of Exemplary Embodiments

An information processing apparatus according to an exemplary embodiment includes a display screen that displays a first message corresponding to a first event occurring in the inform on processing apparatus, and a display controller that controls, in a case where a second event occurs while the first message is being displayed on the display screen, a display mode of a second message corresponding to the second event, based on a relationship between the first event and the second event.

Furthermore, an information processing apparatus according to an exemplary embodiment includes a display controller that controls, in a case where a different message is notified while a notified message is being displayed on a display screen, when a priority of the different message is higher than a priority of the message being displayed, such that the different message is Preferentially displayed on the display screen. The priority of a message is synonymous with the priority of an event) be notified to a user by the message.

“Being preferentially displayed on the display screen” represents a case where the different message is displayed immediately, a case where the different message is displayed when the screen being displayed is closed, or the like.

For example, “messages” are categorized according to the purpose as follows:

(a) error notification (notification of a failure of an apparatus, notification indicating that a service may not be executed, etc.);

(b) warning (notification to prompt replacement or replenishing of consumables, etc.); and

(c) notification regarding an operation (notification of an input error, a process status, etc.)

Messages are not necessarily categorized as above and may be categorized according to other purposes.

Exemplary Embodiments

FIG. 1 is a block diagram illustrating a configuration example of an information processing apparatus according to an exemplary embodiment of the present invention.

An information processing apparatus 1 is a multifunction apparatus having multiple functions such as scan, print, copy, ScanToMail, and the like. The information processing apparatus 1 includes a controller that controls individual units of the information processing apparatus 1, a memory 3 that stores various types of information, an operation display 4 that receives an operation from a user and displays information, a display memory 5 for the operation display 4, a scanner unit 6 that reads an image from an original, a printer unit 7 that prints print data on paper, a communication unit 8 that com communicates with an external apparatus via a network, and plural status detection units 9 that detect a status of the information processing apparatus 1. The information processing apparatus 1 may be, for example, a portable information processing apparatus such as a personal computer or a multifunction cellular phone (smartphone).

“Scan” is processing for reading, with the scanner unit 6, an image from an original. “Print” is processing for printing, with the printer unit 7, print data transmitted from an external apparatus on paper. “Copy” is processing for printing, with the printer unit 7, an image which is obtained by reading, with the scanner unit 6, an original on paper, “ScanToMail” processing for reading, with the scanner unit 6, an original and transmitting, with the communication unit 8 and via a network, the read image to an external apparatus by electronic mail.

The controller 2 of the information processing apparatus 1 includes a central processing unit (CPU), an interface, and the like. The controller 2 functions as a reception unit 20, a notification unit 21, a display controller 22, an execution unit 23, and the like by operating in accordance with a program such as an application stored in a program storing unit 30 of the memory 3. The details of the reception unit 20, the notification unit 21, the display controller 22, and the execution unit 23 will be described later.

The memory 3 includes a read only memory (ROM), a random access memory (PAN), a hard disk, and the like. The memory 3 includes the program storing unit 30 that stores a program such as an application, a message categorization table storing unit 31 that stores a message categorization table 310 (see FIG. 2), a screen information storing unit 32 that stores screen information of a menu screen, a setting screen for a sub-application, a message notification screen, and the like, a display pointer storing unit 33 that stores a display pointer, and a screen information storing unit 34 that temporarily holds screen information. The message categorization table 310 is an example of registration information.

In the program storing unit 30, a main application 30 a, a first sub-application 30 b, a second sub-application 30 c, and a third sub-application 30 d are stored. In this example, the three sub-applications 30 b to 30 d are illustrated. In actuality, however, four or more sub-applications are stored in the program storing unit 30. The first to third sub-applications 30 b to 30 b control functions provided in the information processing apparatus 1. In the explanation provided below, the first to third sub-applications 30 b to 30 d control the “scan” function, the “copy” function, and the “ScanToMail” function, respectively. The main application 30 a controls a menu screen displayed on the operation display 4. The menu screen is configured such that “scan”, “copy”, and “ScanToMail”, which are under the control by the first to third sub-applications 30 b to 30 d, may be selected.

In the message categorization table 310 stored in the message categorization table storing unit 31, a display mode of a message notification screen and the like is registered in association with a code. The details of the message categorization table 310 will be described later.

Setting screens for the first to third sub-applications 30 b to 30 d stored in the screen information storing unit 32 contain setting details set by default and “start” buttons for issuing an instruction to start the functions based on the first to third sub-applications 30 b to 30 d. A message notification screen stored in the screen information storing unit 32 is a screen containing a message associated with a code. The message notification screen contains information on configuring a screen, such as a message, an input field for inputting information, a “close” button for issuing an instruction to close the message notification screen, and the like.

Configuration of Display Memory

As illustrated in FIG. 1, the display memory 5 includes plural memory regions E₁₁, E₂₁, E₃₁, E₄₁, E₁₂, E₂₂, E₃₂, E₄₂, E₁₃, E₂₃, E₃₃, and E₄₃ which are provided for the individual sub-applications (the first to third sub-applications 30 b to 30 d) and individual layers (a background layer, a lower layer, an intermediate layer, and an upper layer). That is, in the display memory 5, the memory regions E₁₁, E₂₁, E₃₁, and E₄₁ in the first column correspond to the first sub-application (for example, scan) 30 b, the memory regions E₁₂, E₂₂, E₃₂, and E₄₂ in the second column correspond to the second sub-application (for example, copy) 30 c, and the memory regions E₁₃, E₂₃, E₃₃, and E₄₃ in the third column correspond to the third sub-application (for example, ScanToMail) 30 d.

Furthermore, in the display memory 5, the memory regions E₁₁, E₁₂, and E₁₃ in the first row correspond to the background layer, the memory regions E₂₁, E₂₂, and E₂₃ in the second row correspond to the lower layer, the memory regions E₃₁, E₃₂, and E₃₃ in the third row correspond to the intermediate layer, and the memory regions E₄₁, E₄₂, and E₄₃ in the fourth row correspond to the upper layer. The number of layers other than the background layer is not limited to three and may be one, two, four, or more.

In the background layer, setting screens for the first to third sub-applications 30 b to 30 d are displayed. Message notification screens are displayed in the lower layer, the intermediate layer, and the upper layer.

Configuration of Layers

The upper layer is a ranged on the front-most surface, and the background layer is arranged on the rear-most surface. The lower layer is arranged in front of the background layer, and the intermediate layer is arranged in front of the lower layer. The background layer, the lower layer, the intermediate layer, and the upper layer are transparent layers. Accordingly, when a screen is full-screen-displayed in a layer on an upper side, a screen displayed in a layer on a lower side is hidden by the screen on the upper side and may not be seen. Furthermore, when a screen is pop-up-displayed in a layer on an upper side, part of a screen displayed in a layer on a lower side is seen, and the screen in the layer on the upper side is seen to be superimposed on the screen displayed in the layer on the lower side. When a setting screen is displayed in the background layer and no message notification screen is displayed in the lower layer, the intermediate layer, or the upper layer, only the setting screen is seen. “Full-screen display” represents a state in which a screen with the same size as that of the display screen of the operation display 4 is displayed. “Pop-up display” represents a state in which a screen with a size smaller than that of the display screen of the operation display 4 is displayed on a screen displayed in a layer on a lower side.

The status detection units 9 are provided at the individual units of the information processing apparatus 1 and each include a sensor for detecting a status of the information processing apparatus 1. For example, the status detection units 9 detect the following statuses:

(a) failure status (a failure of an apparatus, a network connection failure, a paper jam, etc.);

(b) remaining amount status (a remaining amount of paper in a tray, a remaining amount of toner in a toner cartridge, etc.); and

(c) process status (printing in progress, sending in progress, etc.)

The status detection units 9 each transmit a message by transmitting a code corresponding to detected contents (see FIG. 2) to the controller 2. Transmission of a code is an example of notification of a message. Statuses detected by the status detection units 9 are not limited to the above. The status detection units 9 may detect other statuses. The status detection units 9 may directly transmit messages.

Configuration of Message Categorization Table

FIG. 2 is a diagram illustrating an example of the message categorization table 310. The message categorization table 310 includes a “code” field in which a code uniquely provided to a message is registered, a “main purpose” field in which information for categorizing a message according to a main purpose is registered, a “sub-purpose” field in which information for categorizing a message according to a sub-purpose is registered, a “layer” field in which a layer in which a message notification screen is displayed is registered, a “display mode” field in which a display mode representing whether a message notification screen is displayed as full-screen display or pop-up display is registered, a “message” field in which contents of a message in a message notification screen are registered, a “sub-application” field in which a sub-application is registered, and a “priority” field in which the priority of a message is registered. Display modes for all the codes may be implemented as full-screen display.

Codes registered in the “code” field are categorized into three types according to the main purpose. That is, in the case where the main purpose is error notification, “E001”, “E002”, and so on are used as codes, in the case where the main purpose is warning (except for warning regarding an operation) , “W001”, “W002”, and so on are used as codes, and in the case where the main purpose is notification regarding an operation, “I001”, “I002”, and so on are used as codes. A larger value registered in the “priority” field indicates a higher priority. Priority is determined based on the combination of a main purpose and a sub-purpose. The highest priority is provided for a case where the main purpose is error notification, the next highest priority is provided for a case where the main purpose is warning (except for warning regarding an operation), and the lowest priority is provided for a case where the main purpose is notification regarding an operation.

In this exemplary embodiment, priority is stored in association with a message as described above. However, a method for storing priority in association with an event may also be adopted.

The reception unit 20 receives a function selected on the menu screen displayed on the operation display 4. On the menu screen, functions that may be executed by the information processing apparatus 1, such as scan, print, and ScanToMail, are displayed.

The notification unit 21 determines whether or not there is an inconvenience such as insufficiency in input information regarding a sub-application received by the reception unit 20. In the case where there is an inconvenience, the notification unit 21 notifies the display controller 22 of a code corresponding to a message indicating the inconvenience.

In the case where a different message is notified while a message notification screen including a notified message is being displayed on the display screen of the operation display 4, when the priority of the different message is higher than the priority of the message being displayed, the display controller 22 performs control such that a message notification screen including the different message is preferentially displayed on the display screen.

Specifically, as an example in which a message notification screen including a different message is preferentially displayed on the display screen, the display controller 22 may hold the message notification screen including the different message in the screen information storing unit 34 and display the message notification screen including the different message on the display screen when an instruction to close the message notification screen being displayed is issued. Furthermore, as another example in which a message notification screen including a different message is preferentially displayed on the display screen, the display controller 22 may hold a message notification screen being displayed in the screen information storing unit 34 while displaying the message notification screen including the different message on the display screen and display the held message notification screen on the display screen when an instruction to close the message notification screen including the different message is issued.

In the case where a different message is notified while a message notification screen is being displayed on the display screen, when the different message relates to any of the sub-applications 30 b to 30 d different from the message notification screen being displayed, the display controller 22 may cause a message notification screen including the different message to be held in the screen information storing unit 34 without preferentially displaying it and display the held message notification screen on the display screen when the corresponding one of the sub-applications 30 b to 30 d is selected.

The display controller 22 combines screens written in memory regions corresponding to the selected sub-application, that is, screens of four layers, and displays the combined screens on the operation display 4.

The display controller 22 refers to the message categorization table 310 in which information about in which memory region of the display memory 5 corresponding to a layer a message is to be written registered according to the priority of the message, and writes a message notification screen in a memory region of the display memory 5.

The display controller 22 writes a message with a higher priority in a memory region of the display memory 5 corresponding to a layer on a more front side. The display controller 22 full-screen-displays or pop-up-displays a message notification screen on the display screen in accordance with the display mode of the message categorization table 310. Pop-up display is an example of partial-screen display.

When an execution instruction is issued on a setting screen corresponding to a sub-application, the execution unit 23 performs corresponding processing by controlling the scanner unit 6, the printer unit 7, or the communication unit 8.

Operation of Exemplary Embodiments

Next, an example of an operation of the information processing apparatus 1 according to an exemplary embodiment will be explained with reference to FIGS. 3, 4, 5A, 5B, 6A, and 6B.

(1) Basic Operation

An example of an operation of the information processing apparatus 1 regarding display of a message notification screen will be explained below with reference to a flowchart in FIG. 3.

When the power of the information processing apparatus 1 is turned on, the display controller 22 reads a menu screen from the screen information storing unit 32 and displays the read menu screen on the display screen of the operation display 4. As functions that may be executed by the information processing apparatus 1, for example, “scan”, “print”, and “ScanToMail” are displayed on the menu screen.

A user performs a touch operation to select any of the functions on the menu screen displayed on the operation display 4.

The display controller 22 writes into the display pointer storing unit 33 a column number of the display memory 5 that corresponds to a sub-application which controls the selected function. The display controller 22 also reads a setting screen for the selected function from the screen information storing unit 32, and writes the setting screen in a memory region of the display memory 5 in the first row corresponding to the background layer and in the corresponding column.

The status detection units 9 detect the status of the information processing apparatus 1, and notify the controller 2 of a code corresponding to a message. When there is an insufficiency in input information with respect to the setting screen, the notification unit 21 notifies the display controller 22 of a code corresponding to a message indicating the insufficiency.

When the display controller 22 is notified a message (in actuality, a code) by the status detection unit 9 via he reception unit 20 or when the display controller 22 is notified of a message (in actuality, a code) by the notification unit 21 (S1), the display controller 22 determines whether or not the notified message relates to the application that is currently selected (S2). Specifically, the display controller 22 determines whether or not a sub-application corresponding to a column number stored in the display pointer storing unit 33 is the same as a sub-application corresponding to a code registered in the message categorization table 310.

In the case where the sub-applications are the same (S2: Yes), the display controller 22 determines whether or not the notified message relates to the application that is currently selected and the main purpose of the notified message is notification regarding an operation (S3). Specifically, the display controller 22 determines, by referring to the message categorization table 310 on the basis of the notified code, whether or not the main purpose of the message is notification regarding an operation.

In the case where the main purpose is notification regarding an operation (S3: Yes), the display controller 22 acquires information of a memory region (lower layer) of the display memory 5 that corresponds to the code and the display mode (pop-up display) of a message notification screen. from the message categorization table 310 (S4).

In the case where the main purpose is not notification regarding an operation in step S3 (S3: NO), the display controller 22 determines whether or not the main purpose is error notification (S5). In the case where the main purpose is error notification (S5: Yes), the display controller 22 acquires information of a memory region (upper layer) of the display memory 5 that corresponds to the code and the display mode (full-screen display) of a message notification screen from the message categorization table 310 (S6).

In the case where the main purpose is not error notification in step S5 (S5: No), the display controller 22 acquires information of a memory region (intermediate layer) of the display memory 5 that corresponds to the code and the display mode (pop-up display) of a message notification screen from the message categorization table 310 (S7).

After step S4, S6, or S7, the display controller 22 determines whether or not screens are written in memory regions corresponding to the same display layer (S8). In the case where screens are not written in memory regions corresponding to the same display layer (S8: No), the display controller 22 reads the message notification screen corresponding to the code from the screen information storing unit 32, writes the read message notification screen into the memory region acquired in step S4, S6, or S7, and displays the message notification screen on the display screen of the operation display 4 in accordance with the display mode acquired in step S4, S6, or S7 (S9).

In the case where screens are written in memory regions corresponding to the same display layer in step S8 (S8: Yes), the display controller 22 determines, based on the message categorization table 310, whether or not the priority of the message to be displayer is higher than the priority of the message that is being displayed (S10).

In the case where the priority of the message to be displayed is higher than the priority of the message being displayed (S10: Yes), the display controller 22 stores the message notification screen being displayed in the screen information storing unit 34, reads a message notification screen including the message to be displayed from the screen information storing unit 32, writes the read message notification screen into the memory region acquired in step S4, S6, or S7, and displays the message notification screen on the operation display 4 in accordance with the display mode acquired in step S4, S6, or S7 (S11).

In the case where the priority of the message to be displayed is lower than or equal to the priority of the message being displayed in step S10 (S10: No), the message notification screen. to be displayed is stored in the screen information storing unit 34 without displaying it on the operation display 4 (S12).

Next, an example of an operation of the information processing apparatus 1 regarding display of a message notification screen held in the screen information storing unit 34 in step S11 or S12 will be explained with reference to a flowchart in FIG. 4.

When the reception unit 20 receives an operation on the “close” button on the message notification screen displayed on the operation display 4 (S21), the display controller 22 determines whether or not there is a screen held in the screen information storing unit 34 (S22). In the case where there is no screen being held (S22: No), the process ends. In the case where there is a screen being held (S22: Yes), the display controller 22 determines whether or not the layer of the message notification screen held in the screen information storing unit 34 is the same as the layer of the closed screen (S23).

In the case where the layers are not the same (S23: No), the process ends. In the case where the layers are the same (S23: Yes), a message notification screen with the highest priority as selected (S24), and the process proceeds to the message display processing in FIG. 3, where the selected message notification screen is displayed (S25).

(2) Specific Operation

A case where ScanToMail is selected as a function will be described below.

When the power of the information processing apparatus 1 is turned on, the display controller 22 reads a menu screen from the screen information storing unit 32 and displays the read menu screen on the display screen of the operation display 4.

For example, a user performs a touch operation to select “ScanToMail” on the menu screen displayed on the operation display 4. The display controller 22 writes column number (third column) of the display memory 5 that corresponds to the third sub-application 30 d that controls the selected “ScanToMail” into the display pointer storing unit 33.

The display controller 22 reads a setting screen 320 (see FIG. 5A) from the screen information storing unit 32, and writes the setting screen 320 into the memory region E₁₃ of the display memory 5 in the first row corresponding to the background layer and in the third column corresponding to “ScanToMail”.

When the setting screen 320 (see FIG. 5A) is written into the memory region E₃ of the display memory 5, the setting screen 320 is displayed in a background layer 50.

FIG. 5A is an example of the setting screen 320 for “ScanToMail”. The setting screen 320 contains an address input frame 320 a and a “start” button 320 b. No screen is displayed in a layer on a front side relative to the background layer 50. Therefore, only the setting screen 320 for “ScanToMail” is displayed on the operation display 4.

Next, for example, the user performs a touch operation on the “start” button 320 b without inputting an address in the address input frame 320 on the setting screen 320 for “ScanToMail”. The reception unit 20 receives the touch operation on the “start” button 320 b.

The notification unit 21 determines that there is an insufficiency input information on the setting screen 320 for “ScanToMail” received by the reception unit 20. The notification unit 21 notifies the display controller 22 of a code (I001) (see FIG. 2) corresponding to a message notifying that there is an insufficiency in input information (S1).

The display controller 22 determines whether or not the message corresponding to the notified code (I001) relates to an application that is currently selected (S2), an this example, it is determined that the message corresponding to the notified code (I001) relates to the application that is currently selected (S2: Yes), it is determined whether or not the main purpose of the notified message is notification regarding an operation (S3). in case where the code (I001) is notified while “ScanToMail” is running, the main purpose of the code (I001) is notification regarding an operation (S3: Yes). Therefore, the display controller 22 acquires information of the memory region (lower layer) of display memory 5 that corresponds to the code (I001) and the display mode (pop-up display) of a message notification screen from the message categorization table 310 (S4).

In the case where no screen is written in a memory region corresponding to the lower layer (S8: No), the display controller 22 reads a message notification screen corresponding to the code (I001) from the screen information storing unit 32, writes the read message notification screen into the memory region E₂₃ in the second row and the third column of the display memory 5, and provides pop-up display on the display screen of the operation display 4 (S9).

As illustrated in FIG. 5B, a message notification screen 321 displayed in a lower layer 51 is pop-up displayed on the setting screen 320 for “ScanToMail. The message notification screen 321 contains a message 321 a “Start is not available because no address is specified.”, an address input frame 321 b, and a “close” button 321 c.

In the case where the status detection unit 9 detects a network connection status while the message notification screen 321 illustrated in FIG. 5B is being displayed on the operation display 4, a code (E002) corresponding to the detected contents is notified to the controller 2 (S1).

The reception unit 20 of the controller 2 receives the code (E002). Regarding the code (E002), the main purpose is error notification (S5: Yes). Therefore, the display controller 22 acquires information of the memory region (upper layer) of the display memory 5 that corresponds to the code and the display mode (full-screen display) of a message notification screen from the message categorization table 310 (S6).

In the case where no screen is written in a memory region corresponding to the upper layer S8: No), the display controller 22 reads a message notification screen corresponding to the code (E002) from the screen information storing unit 32, writes the read message notification screen into the memory region E₄₃ in the fourth row (upper layer) and the third column of the display memory 5, and provides full-screen display on the operation display 4 (S9).

As illustrated in FIG. 6A, a message notification screen 322 displayed in an upper layer 53 is full-screen-displayed on the operation display 4. The message notification screen 322 contains a message 322 a “Please check the connection status.” and a “close” button 322 b.

Next, as illustrated in FIG. 6A, a case where a failure has occurred in an apparatus while the message notification screen 322 notifying a network connection failure is being displayed will be explained.

For example, the status detection unit 9 detects a failure of an apparatus while the message notification screen 322 notifying a network connection failure is being displayed, and a code (E001) is notified to the controller 2. The reception unit 20 of the controller 2 receives the code (E001), Regarding the code (E001), the main purpose error notification (S5: Yes). Therefore, the display controller 22 acquires information of the memory region (upper layer) of the display memory 5 that corresponds to the code (E001) and the display mode (full-screen display) of a message notification screen from the message categorization table 310 (S6). The screen of the code (E002) exists in a memory region corresponding to the same upper layer (S8 Yes). Therefore, comparison of priorities of the messages is performed (S10).

The priority of the code (E001) to be displayed is 10, whereas the priority of the code (E002) being displayed is 9 (S10: Yes. Therefore, the display controller 22 reads the message notification screen corresponding to the code (E001) with a higher priority from the screen information storing unit 32, writes the read message notification screen into the memory region a in the fourth row (upper layer) and the third column of the display memory 5, and provides full-screen display on the operation display 4. At this time, the message notification screen 322 illustrated in FIG. 6A is held in the screen information storing unit 34.

As illustrated in FIG. 6E, a message notification screen 323 displayed in the upper layer 53 is full-screen-displayed on the operation display 4. The message notification screen 323 contains a message 323 a “Failure has occurred. Please report the failure to your administrator.” and a “close” button 323 b.

When the “close” button 323 b on the message notification screen 323 illustrated in FIG. 6B is operated, the message notification screen 322 is read from the screen information storing unit 34 and is displayed on the operation display 4.

As described above, a message regarding a sub-application that is being used by a user is displayed, whereas a message regarding a sub-application that is not being used by the user is not displayed even if the priority of the message is high. Therefore, noise to the user is not provided.

Modifications

The exemplary embodiments of the present invention have been described above. However, exemplary embodiments of the present invention are not limited to the foregoing exemplary embodiments. Various modifications and implementation may be made without departing from the scope of the present invention.

Part or all of the individual units of the controller 2 may be hardware circuits such as field programmable gate arrays (FPGAs) or application specific integrated circuits (ASICs).

Furthermore, part of components in the foregoing exemplary embodiments may be omitted or changed without departing from the scope of the present invention. Furthermore, in flows in the foregoing exemplary embodiments, addition, deletion, change, replacement, or the like of steps may be made without departing from the scope of the present invention. Furthermore, a program used in the foregoing exemplary embodiments may be recorded in a computer-readable recording medium such as a compact disc-read only memory (CD-ROM) and provided. Furthermore, a program used in the foregoing exemplary embodiments may be stored in an external server such as a cloud server and used via a network.

The foregoing description of the exemplary embodiments of the present invention has been provided for the purposes of illustration and description. It is not intended to be exhaustive or to limit the invention to the precise forms disclosed. Obviously, many modifications and variations will be apparent to practitioners skilled in the art. The embodiments were chosen and described in order to best explain the principles of the invention and its practical applications, thereby enabling others skilled in the art to understand the invention for various embodiments and with the various modifications as are suited to the particular use contemplated. It is intended that the scope of the invention be defined by the following claims and their equivalents. 

What is claimed is:
 1. An information processing apparatus comprising: a display screen that displays a first message corresponding to a first event occurring in the information processing apparatus; and a display controller that controls, in a case where a second event occurs while the first message is being displayed on the display screen, a display mode of a second message corresponding to the second event, based on a relationship between the first event and the second event.
 2. The information processing apparatus according to claim 1, wherein in a case where a priority of the second event is higher than a priority of the first event, the display controller holds the second message, and performs control such that the second message is displayed on the display screen when an instruction to close the first message is issued.
 3. The information processing apparatus according to claim 1, wherein in a case where a priority of the second event is higher than a priority of the first event, the display controller holds the first message while displaying the second message on the display screen, and displays the held first message on the display screen when an instruction to close the second message is issued.
 4. The information processing apparatus according to claim 1, wherein in a case where the second message relates to an application different from an application for the first message being displayed, the display controller holds the second message without preferentially displaying the second message, and displays the held second message on the display screen when the different application is selected.
 5. The information processing apparatus according to claim 1, wherein the display screen includes a plurality of layers, and wherein the display controller writes the second message in a layer on a front-most surface to display the second message.
 6. The information processing apparatus according to claim 5, wherein the display controller preferentially displays the second message on the display screen by referring to, for each of the first message and the second message, layers in which the first message and the second message are to be written and registration information in which priorities of the first message and the second message are registered.
 7. The information processing apparatus according to claim 1, further comprising: a display memory that includes a plurality of memory regions which are provided for individual applications and individual layers, wherein the display controller writes the first message or the second message with a higher priority into a memory region corresponding to a layer of the display memory on a more front side.
 8. The information processing apparatus according to claim 7, wherein the display controller writes the first message and the second message into the memory regions of the display memory by referring to registration information in which information about in which memory region corresponding to a layer each of the first message and the second message is to be written is registered according to a priority of each of the first message and the second message.
 9. The information processing apparatus according to claim 8, wherein the registration information includes a display mode indicating which one of full-screen display and partial-screen display is to be provided according to a priority, and wherein the display controller full-screen-displays or partial-screen-displays the first message and the second message on the display screen in accordance with the display mode according to the priority.
 10. A non-transitory computer readable medium storing a program causing a computer to execute a process for information processing, the process comprising: displaying a first message corresponding to a first event occurring in an information processing apparatus; and controlling, in a case where a second event occurs while the first message is being displayed, a display mode of a second message corresponding to the second event, based on a relationship between the first event and the second event. 